package com.jia.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jia.mapper.RoleMapper;
import com.jia.pojo.Role;
import com.jia.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 贾宇光
 * @version 1.0
 * @date 2020/9/16 22:34
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {
    @Autowired
    RoleMapper roleMapper;

    @Override
    public Role queryRoleByUid(int uid) {
        return roleMapper.queryRoleByUid(uid);
    }
}
